package com.woniuxy.shop.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author fanqiwen
 * @since 2023-02-07 11:56:02
 */
@Getter
@Setter
@TableName("t_cart")
public class Cart {

    @TableId("id")
    private Integer id;

    @TableField("product_id")
    private Integer productId;

    @TableField("buycount")
    private Integer buycount;

    @TableField("sumprice")
    private BigDecimal sumprice;

    @TableField("user_id")
    private Integer userId;


}
